Auto merge of #4176 - alexcrichton:atty, r=matklad
authorbors <bors@rust-lang.org>
Thu, 15 Jun 2017 16:17:29 +0000 (16:17 +0000)
committerbors <bors@rust-lang.org>
Thu, 15 Jun 2017 16:17:29 +0000 (16:17 +0000)
Use the `atty` crate for TTY detection

This is more robust in the face of msys terminals and otherwise helps share more
dependencies!

Closes #4166


Trivial merge